package memorphic.samplr
{
	import com.adobe.webapis.flickr.PagedPhotoList;
	import com.adobe.webapis.flickr.Photo;
	
	import memorphic.samplr.controllers.GalleryController;
	import memorphic.samplr.models.Gallery;
	import memorphic.samplr.models.PhotoSearchResults;
	import memorphic.slide.SlideView;
	
	import mx.collections.ArrayCollection;

	public class SamplrView extends SlideView implements ISamplrAppProps
	{
		/* Models */
		
		[Cascade]
		[Bindable]
		public var searchResults:PhotoSearchResults;
		
		[Cascade]
		[Bindable]
		public var currentPhoto:Photo;
		
		[Cascade]
		[Bindable]
		public var currentGallery:Gallery;
		
		[Cascade]
		[Bindable]
		public var galleries:ArrayCollection;
		
		[Cascade]
		[Bindable]
		public var recentPhotos:PagedPhotoList;
		
		[Cascade]
		[Bindable]
		public var strings:XML;
		
		[Cascade]
		[Bindable]
		public var interestingPhotos:ArrayCollection;
		
		[Cascade]
		[Bindable]
		public var selectedPhotos:ArrayCollection;
		
		/* Controllers */
		
		[Cascade]
		[Bindable]
		public var galleryController:GalleryController;
	}
}